PMIO: Port-Mapped I/O
MMIO: Memory-Mapped I/O
- Memory load/store instructions
- (you can just use
lw and sw to interact)
There are four technique for I/O programming:
- Programming I/O (PIO)
- With busy-waiting
- With polling
- Interrupt
- Direct Memory Access or a special processor for I/O called I/O processor.
- CPU can program the hardware.